package com.hardydou.data.model;

import java.io.Serializable;
import java.util.List;

public class YdIcon implements Serializable {
    private Long iconId;

    private String name;

    private String value;

    private List<YdTag> tags;

    private static final long serialVersionUID = 1L;

    public Long getIconId() {
        return iconId;
    }

    public void setIconId(Long iconId) {
        this.iconId = iconId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value == null ? null : value.trim();
    }

    public List<YdTag> getTags() {
        return tags;
    }

    public void setTags(List<YdTag> tags) {
        this.tags = tags;
    }



    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", iconId=").append(iconId);
        sb.append(", name=").append(name);
        sb.append(", tags=").append(tags);
        sb.append(", value=").append(value);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}